package com.xuetang9.dto.a;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.util.Date;

/**
 * @工能
 * @作者 杜目杰
 * @时间 2020/5/14
 * @地点 公司
 * @版本 1.0.0
 * @版权 老九学堂
 */
public class WayDTO {


    /**
     * 路线编号
     */
    @Column(name = "way_id")
    private String wayId;

    /**
     * 路线名字
     */
    @Column(name = "way_name")
    private String wayName;

    /**
     * 塔基总数量
     */
    @Column(name = "pole_sum")
    private Integer poleSum;

    /**
     * 起始塔杆
     */
    @Column(name = "pole_first")
    private String poleFirst;

    /**
     * 结束塔杆
     */
    @Column(name = "pole_last")
    private String poleLast;

    /**
     * 启用状态
     */
    @Column(name = "way_is_open")
    private String wayIsOpen;

    /**
     * 运行状态
     */
    private String runState;

    @Override
    public String toString() {
        return "WayDTO{" +
                "wayId='" + wayId + '\'' +
                ", wayName='" + wayName + '\'' +
                ", poleSum=" + poleSum +
                ", poleFirst='" + poleFirst + '\'' +
                ", poleLast='" + poleLast + '\'' +
                ", wayIsOpen='" + wayIsOpen + '\'' +
                ", runState='" + runState + '\'' +
                '}';
    }

    public String getWayId() {
        return wayId;
    }

    public void setWayId(String wayId) {
        this.wayId = wayId;
    }

    public String getWayName() {
        return wayName;
    }

    public void setWayName(String wayName) {
        this.wayName = wayName;
    }

    public Integer getPoleSum() {
        return poleSum;
    }

    public void setPoleSum(Integer poleSum) {
        this.poleSum = poleSum;
    }

    public String getPoleFirst() {
        return poleFirst;
    }

    public void setPoleFirst(String poleFirst) {
        this.poleFirst = poleFirst;
    }

    public String getPoleLast() {
        return poleLast;
    }

    public void setPoleLast(String poleLast) {
        this.poleLast = poleLast;
    }

    public String getWayIsOpen() {
        return wayIsOpen;
    }

    public void setWayIsOpen(String wayIsOpen) {
        this.wayIsOpen = wayIsOpen;
    }

    public String getRunState() {
        return runState;
    }

    public void setRunState(String runState) {
        this.runState = runState;
    }
}
